<%-- 
    Document   : cadastroUsuario
    Created on : 04/12/2012, 18:57:33
    Author     : Ially H.R. de Andrade
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Cadastro de Usuário</title>
    </head>
    <body>
        <form name="frmcadastroUsuario" action="ServletUsuario?cmd=gravar" method ="post">
          <table>
             <tr>
               <td> Nome:</td> 
               <td><input type="text" name="txtnome"></td>
             </tr>
             
             <tr>
               <td> Nível:</td>
               <td> <input type="text" name="txtnivel"></td>
             </tr>
            
             <tr>
               <td><input type="submit" name="subform" value="Salvar"></td>
            </tr>
          </table>
        </form>
         <h1>Olá <%= session.getAttribute("usuario") %></h1>
    </body>
</html>

